package nontax;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/**
 * @author Luo Wenlong
 * @date 2022-07-02 14:39
 * @description:启动类
 * @version:
 */
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.bosssoft.trainee.nontax.service"})
@EnableDiscoveryClient
@ComponentScan({"nontax.controller","com.bosssoft.trainee.nontax.hystrix"})
public class NontaxConsumerFeigh {
    public static void main(String[] args) {
        SpringApplication.run(NontaxConsumerFeigh.class, args);
    }
}
